package com.srwl.mytx.contrack;

import com.srwl.mytx.domain.User;
import com.srwl.mytx.BasePresenter;
import com.srwl.mytx.BaseView;

/**
 * Created by dahai2070 on 2018/2/26 0026.
 */

public interface LoginConstrack  {
    interface  View extends BaseView<Presenter>{
        void showToast(String message);
        void showProgressDialog(String message);
        void disMissProgressDialog();
        void showLoginSuccess();
        void showPasswordError();
        void showRetrievePassWord();
        void setLoginButtonStatus(boolean bool);

    }

    interface Presenter extends BasePresenter{
        void login(User user);
        void alipayAuthUrl();
    }

}
